<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="${basePath}resources/js/main/monthly-product.js" type="text/javascript"></script>
</head>
<body>
<div id="reportQuery">
  		<div><input id="monPrd_queryText" type="text"><input type="button" onclick="monprd.loadList(1)" value="查询"></div>
  	</div>
  	<div style="text-align: right;border-top: solid 1px #f9f9f9;padding-right: 18px;">
  	<input type="button" value="新增汇总记录" onclick="monprd.openAddDialog()">
  	<input type="button" value="导出Excel" onclick="monprd.exportExcel()">
  	</div>
    <div id="monPrdTable">
    	
    </div>
  	<div id="addMonPrdDialog" title="新增汇总记录" style="display: none;">
  	<form id="report_add_form" action="${basePath}app/monPrd/doAddMonPrd" method="post" target="callback">
  		<div><label class="formitem">选择矿井：</label><select id="addMonPrd_wellTeamId" class="formitem_text" name="wellTeamId"></select></div>
  		<div><label class="formitem">日期：</label><input id="addMonPrd_date" name="date" class="formitem_text" type="text"></input></div>
  		<div><label class="formitem">注水量：</label><input name="waterIn" class="formitem_text"></input>方</div>
  		<div><label class="formitem">生产量：</label><input name="preduction" class="formitem_text"></input>方</div>
  		<div><label class="formitem">注油量：</label><input name="oilIn" class="formitem_text"></input>方</div>
  		<div><label class="formitem">硫酸钠含量：</label><input name="na2so4PerL" class="formitem_text" type="text"/>克/升</div>
  		
  		<div><label class="formitem">氯化钠含量：</label><input name="naclPerL" class="formitem_text" type="text"/>克/升</div>
  		<div><label class="formitem">来水氯化钠含量：</label><input name="naclWaterPerL" class="formitem_text" type="text"/>克/升</div>
  		<div><label class="formitem">硫酸钠固体含量：</label><input name="na2so4Total" class="formitem_text"/>千克</div>
  		<div><label class="formitem">氯化钠固体含量：</label><input name="naclTotal" class="formitem_text"/>千克</div>
  		<div><label class="formitem">去掉来水氯化钠固体含量：</label><input name="naclTotalNoWater" class="formitem_text"/>千克</div>
  		<div><label class="formitem">进口管压：</label><input name="pipePressureIn" class="formitem_text" type="text"/>MPa</div>
  		<div><label class="formitem">回压：</label><input name="pressureBack" class="formitem_text" type="text"/>MPa</div>
  		<div><label class="formitem">注水温度：</label><input name="waterTemperature" class="formitem_text" type="text"/>°C</div>
  		<div><label class="formitem">出硝温度：</label><input name="na2so4Temperature" class="formitem_text" type="text"/>°C</div>
  		<div><label class="formitem">统计人：</label><input name="operator" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">审核人：</label><input name="auditer" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">备注：</label><textarea name="remark" class="formitem_text"></textarea></div>
  		<div><label class="formitem">注采方式：</label><input name="produceMethod" class="formitem_text"/></div>
  		<div style="clear: left;"><span>录入人：${sessionScope.user.username}</span></div>
  		<div style="text-align: center;clear: left;"><input type="reset" value="重置"><input type="submit" value="确认"></div>
  		</form>
  	</div>
  	<div id="detailMonPrdDialog" title="查看" style="display:none;">
  		<div><label class="formitem">矿井：</label><input id="detailMonPrd_wellTeamId" disabled="disabled" class="formitem_text" name="wellTeamId"></input></div>
  		<div><label class="formitem">日期：</label><input id="detailMonPrd_date" disabled="disabled" name="date" class="formitem_text" type="text"></input></div>
  		<div><label class="formitem">注水量：</label><input id="detailMonPrd_waterIn" disabled="disabled" name="waterIn" class="formitem_text"></input>方</div>
  		<div><label class="formitem">生产量：</label><input id="detailMonPrd_preduction" disabled="disabled" name="preduction" class="formitem_text"></input>方</div>
  		<div><label class="formitem">注油量：</label><input id="detailMonPrd_oilIn" disabled="disabled" name="oilIn" class="formitem_text"></input>方</div>
  		<div><label class="formitem">硫酸钠含量：</label><input id="detailMonPrd_na2so4PerL" disabled="disabled" name="na2so4PerL" class="formitem_text" type="text"/>克/升</div>
  		
  		<div><label class="formitem">氯化钠含量：</label><input id="detailMonPrd_naclPerL" disabled="disabled" name="naclPerL" class="formitem_text" type="text"/>克/升</div>
  		<div><label class="formitem">来水氯化钠含量：</label><input id="detailMonPrd_naclWaterPerL" disabled="disabled" name="naclWaterPerL" class="formitem_text" type="text"/>克/升</div>
  		<div><label class="formitem">硫酸钠固体含量：</label><input id="detailMonPrd_na2so4Total" disabled="disabled" name="na2so4Total" class="formitem_text"/>千克</div>
  		<div><label class="formitem">氯化钠固体含量：</label><input id="detailMonPrd_naclTotal" disabled="disabled" name="naclTotal" class="formitem_text"/>千克</div>
  		<div><label class="formitem">去掉来水氯化钠固体含量：</label><input id="detailMonPrd_naclTotalNoWater" disabled="disabled" name="naclTotalNoWater" class="formitem_text"/>千克</div>
  		<div><label class="formitem">进口管压：</label><input id="detailMonPrd_pipePressureIn" disabled="disabled" name="pipePressureIn" class="formitem_text" type="text"/>MPa</div>
  		<div><label class="formitem">回压：</label><input id="detailMonPrd_pressureBack" disabled="disabled" name="pressureBack" class="formitem_text" type="text"/>MPa</div>
  		<div><label class="formitem">注水温度：</label><input id="detailMonPrd_waterTemperature" disabled="disabled" name="waterTemperature" class="formitem_text" type="text"/>°C</div>
  		<div><label class="formitem">出硝温度：</label><input id="detailMonPrd_na2so4Temperature" disabled="disabled" name="na2so4Temperature" class="formitem_text" type="text"/>°C</div>
  		<div><label class="formitem">统计人：</label><input id="detailMonPrd_operator" disabled="disabled" name="operator" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">审核人：</label><input id="detailMonPrd_auditer" disabled="disabled" name="auditer" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">备注：</label><textarea id="detailMonPrd_remark" disabled="disabled" name="remark" class="formitem_text"></textarea></div>
  		<div><label class="formitem">注采方式：</label><input id="detailMonPrd_produceMethod" disabled="disabled" name="produceMethod" class="formitem_text"/></div>
  		<div style="clear: left;"><span>录入人：<span id="detailMonPrd_owner"></span></span><span>录入时间：</span><span id="detailMonPrd_dateInput"></span></div>
  	</div>
  	<div id="updateMonPrdDialog" title="修改汇总记录" style="display: none;">
  			<form id="add_form" action="${basePath}app/monPrd/doUpdateMonPrd" method="post" target="callback">
  		<div><label class="formitem">选择矿井：</label><select id="updateMonPrd_wellTeamId" class="formitem_text" name="wellTeamId"></select></div>
  		<div><label class="formitem">日期：</label><input id="updateMonPrd_date" name="date" class="formitem_text" type="text"></input></div>
  		<div><label class="formitem">注水量：</label><input id="updateMonPrd_waterIn" name="waterIn" class="formitem_text"></input>方</div>
  		<div><label class="formitem">生产量：</label><input id="updateMonPrd_preduction" name="preduction" class="formitem_text"></input>方</div>
  		<div><label class="formitem">注油量：</label><input id="updateMonPrd_oilIn" name="oilIn" class="formitem_text"></input>方</div>
  		<div><label class="formitem">硫酸钠含量：</label><input id="updateMonPrd_na2so4PerL" name="na2so4PerL" class="formitem_text" type="text"/>克/升</div>
  		
  		<div><label class="formitem">氯化钠含量：</label><input id="updateMonPrd_naclPerL" name="naclPerL" class="formitem_text" type="text"/>克/升</div>
  		<div><label class="formitem">来水氯化钠含量：</label><input id="updateMonPrd_naclWaterPerL" name="naclWaterPerL" class="formitem_text" type="text"/>克/升</div>
  		<div><label class="formitem">硫酸钠固体含量：</label><input id="updateMonPrd_na2so4Total" name="na2so4Total" class="formitem_text"/>千克</div>
  		<div><label class="formitem">氯化钠固体含量：</label><input id="updateMonPrd_naclTotal" name="naclTotal" class="formitem_text"/>千克</div>
  		<div><label class="formitem">去掉来水氯化钠固体含量：</label><input id="updateMonPrd_naclTotalNoWater" name="naclTotalNoWater" class="formitem_text"/>千克</div>
  		<div><label class="formitem">进口管压：</label><input id="updateMonPrd_pipePressureIn" name="pipePressureIn" class="formitem_text" type="text"/>MPa</div>
  		<div><label class="formitem">回压：</label><input id="updateMonPrd_pressureBack" name="pressureBack" class="formitem_text" type="text"/>MPa</div>
  		<div><label class="formitem">注水温度：</label><input id="updateMonPrd_waterTemperature" name="waterTemperature" class="formitem_text" type="text"/>°C</div>
  		<div><label class="formitem">出硝温度：</label><input id="updateMonPrd_na2so4Temperature" name="na2so4Temperature" class="formitem_text" type="text"/>°C</div>
  		<div><label class="formitem">统计人：</label><input id="updateMonPrd_operator" name="operator" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">审核人：</label><input id="updateMonPrd_auditer" name="auditer" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">备注：</label><textarea id="updateMonPrd_remark" name="remark" class="formitem_text"></textarea></div>
  		<div><label class="formitem">注采方式：</label><input id="updateMonPrd_produceMethod" name="produceMethod" class="formitem_text"/></div>
  		<div style="clear: left;"><span>录入人：<span id="updateMonPrd_owner"></span></span><span>录入时间：</span><span id="updateMonPrd_dateInput"></span><input id="updateMonPrd_id" name="id" type="hidden"/></div>
  		<div style="text-align: center;clear: left;"><input type="submit" value="确认"></div>
  		</form>
  	</div>
  	<iframe id="callback" style="display: none;"></iframe>
</body>
</html>